package com.artpri.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.transaction.annotation.Transactional;

import com.artpri.model.vo.GoodAttributeVo;
import com.artpri.service.GoodAttributeService;

/**
 * @author ZhangSi
 */
public class GoodAttributeServiceImpl extends BaseService implements GoodAttributeService{
	
	@Override
	@Transactional(readOnly=true)
	public Map<String, List<String>> getGoodAttributeByCategory(int gcId) {
		return getGoodAttributeDao().getGoodAttributeByCategory(gcId);
	}

	@Override
	@Transactional(readOnly=true)
	public List<GoodAttributeVo> getGoodAttributeVoByCategory(int gcId) {
		return getGoodAttributeDao().getGoodAttributeVoByCategory(gcId);
	}



}
